package com.gopay.common.domain.bis;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.gopay.common.domain.BaseEntity;

/**
 * 银行交互服务 银行业务产品付款渠道配置表
 * 
 * @BisBizProdPayChConfig.java
 * @author yaobo
 * @2013-11-6 上午10:33:37 www.gopay.com.cn Inc.All rights reserved.
 */
@Entity
@Table(name = "BIS_BNK_BIZ_PROD_PAY_CH_CFG")
public class BisBizProdPayChConfig extends BaseEntity {

    /**
     * 
     */
    private static final long serialVersionUID = 5025385333724198622L;

    /**
     * 记录流水号
     */
    @Id
    @Column(name = "SQ")
    private int id;

    /**
     * 银行业务产品代码
     */
    @Column(name = "BANK_BIZ_PROD_CODE")
    private String bankBizProdCode;

    /**
     * 付款渠道
     * 
     * 00 - 本订单不涉及付款
     * 
     * 01 - 个人网银付款 02 - 个人虚拟账户付款 03 - 个人借记卡卡快捷付款 04 - 个人信用卡无卡付款 06 - 个人信用卡快捷付款
     * 49 - 个人银行汇款
     * 
     * 51 - 企业网银付款 52 - 企业虚拟账户付款 98 - 企业银行汇款
     */
    @Column(name = "PAY_CHANNEL")
    private String payChannel;

    /**
     * 创建时间
     */
    @Column(name = "CREATED_TS")
    protected Date created;

    /**
     * 记录最后修改时间
     */
    @Column(name = "LAST_UPD_TS")
    protected Date modified;

    /**
     * 最后修改交易码
     */
    @Column(name = "LAST_UPD_TRANCODE")
    protected String lastUpdTranCode;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getBankBizProdCode() {
		return bankBizProdCode;
	}

	public void setBankBizProdCode(String bankBizProdCode) {
		this.bankBizProdCode = bankBizProdCode;
	}

	public String getPayChannel() {
		return payChannel;
	}

	public void setPayChannel(String payChannel) {
		this.payChannel = payChannel;
	}

	public Date getCreated() {
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}

	public Date getModified() {
		return modified;
	}

	public void setModified(Date modified) {
		this.modified = modified;
	}

	public String getLastUpdTranCode() {
		return lastUpdTranCode;
	}

	public void setLastUpdTranCode(String lastUpdTranCode) {
		this.lastUpdTranCode = lastUpdTranCode;
	}
    
    
}
